//
//  CTUserPublishCollectionListView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/5/25.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CTFollowList;

@protocol CTUserPublishCollectionListViewDelegate;


@interface CTUserPublishCollectionListView : UIView
@property(nonatomic,setter=setUserPublishArr:)NSArray * userPublishArray;
@property(nonatomic,assign)id<CTUserPublishCollectionListViewDelegate>delegate;


-(void)refresh;
-(void)refreshPullDownEnd;
-(void)refreshPullUpEnd;

-(void)reloadData;


-(void)setHeadView:(UIView *)headView;

@end



@protocol CTUserPublishCollectionListViewDelegate <NSObject>

//刷新
-(void)refreshPublishCollectionControlPullDown:(CTUserPublishCollectionListView *)view;
-(void)refreshPublishCollectionControlPullUp:(CTUserPublishCollectionListView *)view;

-(void)userPublishCollectionListViewClicked:(CTUserPublishCollectionListView *)view withItem:(CTFollowList *)item;

-(void)userPublishCollectionListScrollViewDidScroll:(UIScrollView *)scrollView;

@end